<script setup lang="ts">
import { serverConf } from '@/config/index'
import { http } from '@/utils'
import { onMounted } from 'vue'
console.log(serverConf)
console.log(process.env.VUE_APP_ENV)
onMounted(async () => {
  const [err, data, code] = await http.get('/api/article/list')
  console.log(err, data, code)
  if (err || !data) return
})
</script>

<template>
  <div class="view-notfund">
    <div class="notfund-code">404</div>
    <div class="notfund-tip">您访问的页面不存在</div>
  </div>
</template>

<style lang="less">
.view-notfund {
  height: 100%;
  user-select: none;
  .notfund-code {
    font-size: 80px;
    line-height: 80px;
    color: #ccc;
  }
  .notfund-tip {
    margin-top: 30px;
    color: #999;
    font-size: 16px;
  }
}
</style>
